package com.leyou.test1.Demo2;

//import java.time.LocalDateTime;

import java.util.ArrayList;

public class SuiJiShu {
    public static void main(String[] args) {
      /*  Random random = new Random();
        for (int i = 0; i < 10; i++) {
            System.out.println(random.nextInt(10));
        }*/
      /*  ArrayList<Object> list = new ArrayList<>();
        for (int i = 0; i < list.size(); i++) {
            System.out.println("lll");
        }
        LocalDateTime now = LocalDateTime.now();
        System.out.println(now);
        LocalDateTime localDateTime = now.minusMinutes(10);
        System.out.println(localDateTime);*/
        ArrayList<String> list1 = new ArrayList<>();
        list1=null;
       /* list1.add("ddd");
        list1.add("wefc");
        list1.add("yrg");
        String join = StringUtils.join(list1, ",");
        System.out.println(join);*/
        if (list1!=null&&list1.size()>0){
            System.out.println(111);
        }else {
            System.out.println(222);
        }

    }
}
